Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dataset endpoint management api #3342

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Jul 31, 2023

What this PR changes/adds

Add /dataset/request endpoint on management api

Why it does that

permit dataset fetch from the clients.

Further notes

  • adapted the CatalogRequest to the standard, renaming providerUrl to counterPartyAddress as it was done pretty much in all the codebase, this needs to be done to the other APIs as well (rename providerUrl and connectorAddress to counterPartyAddress on management api #3343). This was done deprecating providerUrl to avoid breaking changes.
  • extract a DspHttpRequestFactory component, that moved the request creation responsibility away from the "delegate", going towards composition over extension. This could be done also on the "response" side, removing that abstract delegate at all and avoiding some duplication as well. (get rid of DspHttpDispatcherDelegate #3344)

Linked Issue(s)

Closes #3281

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added enhancement New feature or request api Feature related to the (REST) api dataspace-protocol related to the dataspace protocol labels Jul 31, 2023
@ndr-brt ndr-brt force-pushed the 3281-add-dataset-endpoint-management-api branch from 08425b3 to 96108a3 Compare July 31, 2023 13:21
@ndr-brt ndr-brt force-pushed the 3281-add-dataset-endpoint-management-api branch 3 times, most recently from 928c897 to a8ab164 Compare July 31, 2023 13:44
@ndr-brt ndr-brt force-pushed the 3281-add-dataset-endpoint-management-api branch from a8ab164 to 2568aaf Compare August 1, 2023 11:49
@ndr-brt ndr-brt merged commit 56bab11 into eclipse-edc:main Aug 3, 2023
17 checks passed
@ndr-brt ndr-brt deleted the 3281-add-dataset-endpoint-management-api branch August 3, 2023 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Feature related to the (REST) api dataspace-protocol related to the dataspace protocol enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api: add /datasets endpoint on management api
3 participants